package com.cetc.operate.audit.annotation;

import com.cetc.operate.audit.recorder.Recorder;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface OperateAudit {

    Class<? extends Recorder> recorder() default Recorder.class;

    String module() default "";

    String context() default "";
}
